//
//  DetailCell.h
//  lvtu
//
//  Created by Apple on 12-6-28.
//  Copyright (c) 2012年 __MyCompanyName__. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "EGOImageView.h"
#import "DateDetailView.h"
#import "DataPartView.h"

@protocol DetailCellDelegate <NSObject>

//图片点击处理代理方法
- (void)touchUpInsideDetailCell:(NSString*)dateIndexText Index:(NSInteger)index Detail:(NSString*)detailIndexText button:(NSInteger)buttontype ementType:(ElementType)type;

@end

@interface DetailCell : UITableViewCell<DataPartViewProtocol>
{
    DateDetailView* dateDetailView;
    
    DataPartView* dataPartView1;
    DataPartView* dataPartView2;
    DataPartView* dataPartView3;
    NSInteger dateIndex;
    
    id<DetailCellDelegate> delegate;
}

@property (nonatomic,assign)id<DetailCellDelegate> delegate;

- (void)setCell:(NSDictionary*)dict Index:(NSInteger)index Type:(BOOL)isEdit;
@end
